<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>RSS 2.0 Specification (RSS 2.0 at Harvard Law)</title>
		<META NAME="ROBOTS" CONTENT="NOODP">
		<style type="text/css">
  /* General--------------------------------------------- */
    body {
      margin:0px 0px 0px 0px;
      font-size:13px;
      background:#920011 url(http://radio.weblogs.com/0001015/images/harvardBG.gif);
      }
    A {
      text-decoration: none;
      font-weight:bold;
      } 
    A:link {
      color: #920011;
      text-decoration: none;
      font-weight:bold;
      } 
    A:visited {
      color: #924547; text-decoration: none;
      } 
    A:active {
      color: #920011;
      } 
    A:hover {
      color: #FFF;
      background:#920011;
      }
  /*Banner--------------------------------------------- */
    #banner {
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-size:36px;
      font-weight:normal;
      color:#000;
      line-height: 1em;
      }
    #banner a:hover {
      color:#000;
      background:#FFF;
      }
    #banner a {
      color:#000;
      background:#FFF;
      }
    .tagline {
      font-family:arial, sans-serif;
      color:#924547;
      font-size:14px;
      font-weight:bold; 
      text-transform:none;    
      padding-bottom:25px; 
      margin-bottom:15px; 
      }      
  /* Main Column--------------------------------------------- */
    .blogbody {
      font-family: Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
      color:#333;
      font-size:11px;
      line-height:150%;
      font-weight:normal;
      background:#FFF;
      }  
    .title  { 
      font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial; 
      font-size: 150%; 
      line-height:150%;
      font-weight:bold; 
      text-align:left;
      color: #000; 
      padding-bottom:15px;
      }  
    .footer{
      color:#333;
      font-family: Arial, sans-serif;
      font-size:11px;
      line-height:130%;
      font-weight:normal;
      padding-top:10px; 
      margin-top:26px; 
      border-top:1px solid #000;
      }
  /* NewsItems--------------------------------------------- */
    .newsItemtitle {
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-size:16px;
      line-height:100%;
      color:#000;
      font-weight:bold;
      padding-top:0px;    
      padding-bottom:0px;    
      padding-left:10px;    
      padding-right:10px;    
      text-align:left;
      background:#FFF;
      background-position: top left;
      background-repeat: repeat-y;
      } 
    .newsItemDesc {
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-weight:normal;
      font-size:13px;
      padding: 0px 20px 15px 20px;
      color: #000;
      text-decoration: none;
      border-bottom:1px solid #ddd;
      margin-bottom:0px;
      }
  /* Navigation--------------------------------------------- */
    .navLink {
      padding-bottom:4px;
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-size:13px;
      }
    #links {
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-size:13px;
      color:#FFF;
      }
    #links a {
      color:#E8ABA9;
      font-weight:bold;
      text-decoration: none;
      }
    .navLink {
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-size:13px;
      padding-bottom:4px;
      }
    #links a:visited {
      color:#E8ABA9;
      }
    .side {
      border-top: 1px #000 solid;
      font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial;
      font-size:13px;
      color:#FFF;
      margin-top:15px;
      padding-top:15px;
      padding-left:10px;
      padding-right:10px;
      }
  /* Calendar--------------------------------------------- */
    #calendar a {
      font-weight:normal;
      font-size:11px;
      }
    #calendar td {
      font-weight:normal;
      font-family:arial, sans-serif;
      font-size:11px;
      color:#FFF;
      }
    .hCalendarMonthYearRow, .dCalendarMonthYearRow
      { 
      font-family:arial, sans-serif;
      color:#FFF;
      font-size:12px;
      font-weight:bold;
      line-height:100%;
      text-align:left;
      padding:0px;
      }
    .hCalendarDayNameRow, .dCalendarDayNameRow
      {
      color:#FFF;
      font-family:arial, sans-serif;
      font-size:9px;
      line-height:100%;
      font-weight:bold;
      text-align:center;
      padding:0px;   
      }
    .hCalendarDayRow, .dCalendarDayRow
      {
      color:#FFF;
      font-family:arial, sans-serif;
      font-size:9px;
      line-height:100%;
      font-weight:normal;
      text-align:center;
      padding:0px;    
      }
    .hCalendarDayLinked, .dCalendarDayLinked
      {
      color:#FFF;
      background-color: #540009;
      font-family:arial, sans-serif;
      font-size:9px;
      line-height:100%;
      font-weight:normal;
      text-align:center;
      padding:0px;   
      }
    .hCalendarDayCurrent, .dCalendarDayCurrent
      {
      color: #FFF;
      background-color: #924547;
      font-family:arial, sans-serif;
      font-size:9px;
      line-height:100%;
      font-weight:normal;
      text-align:center;
      padding:0px;   
      }
  </style>
		</head>
	<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
		<table width="100%" border="0" cellspacing="0" cellpadding="20">
			<tr>
				<td width="70%" valign="top" class="blogbody" bgcolor="#FFFFFF">
					<div id="banner"><a href="index.html">RSS 2.0 at Harvard Law</a></div><div class="tagline">Internet technology hosted by Berkman Center</div>
					<h2>RSS 2.0 Specification</h2>
					<p><i>Tuesday, July 15, 2003</i></p>
					<h4>Contents</h4>
	<ul>
		<li><a href="#whatIsRss">What is RSS?</a>
		<li><a href="#sampleFiles">Sample files</a>
		<li><a href="#aboutThisDocument">About this document</a>
		<li><a href="#requiredChannelElements">Required channel elements</a>
		<li><a href="#optionalChannelElements">Optional channel elements</a>
		<li><a href="#hrelementsOfLtitemgt">Elements of &lt;item></a>
		<li><a href="#comments">Comments</a>
		<li><a href="#extendingRss">Extending RSS</a>
		<li><a href="#roadmap">Roadmap</a>
		<li><a href="#licenseAndAuthorship">License and authorship</a>
		</ul>
<b>What is RSS?<a name="whatIsRss">&nbsp;</a><a href="#whatIsRss" title="Permanent link to 'What is RSS?' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	RSS is a Web content syndication format.<br><br>
	Its name is an acronym for <i><b>R</b>eally <b>S</b>imple <b>S</b>yndication.</i><br><br>
	RSS is a dialect of XML. All RSS files must conform to the XML 1.0 <a href="http://www.w3.org/TR/REC-xml">specification</a>, as published on the World Wide Web Consortium (W3C) website.<br><br>
	A summary of <a href="rssVersionHistory.html">RSS version history</a>.<br><br>
	At the top level, a RSS document is a &lt;rss> element, with a mandatory attribute called version, that specifies the version of RSS that the document conforms to. If it conforms to this specification, the version attribute must be 2.0. <br><br>
	Subordinate to the &lt;rss> element is a single &lt;channel> element, which contains information about the channel (metadata) and its contents. <br><br>
<b>Sample files<a name="sampleFiles">&nbsp;</a><a href="#sampleFiles" title="Permanent link to 'Sample files' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	Here are sample files for: RSS <a href="examples/sampleRss091.xml">0.91</a>, <a href="examples/sampleRss092.xml">0.92</a> and <a href="examples/rss2sample.xml">2.0</a>.<br><br>
	Note that the sample files may point to documents and services that no longer exist. The 0.91 sample was created when the 0.91 docs were written. Maintaining a trail of samples seems like a good idea.<br><br>
<b>About this document<a name="aboutThisDocument">&nbsp;</a><a href="#aboutThisDocument" title="Permanent link to 'About this document' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	<img src="images/flowers.gif" width="65" height="85" border="0" align="right" hspace="15" vspace="5" alt="A picture of a bouquet of flowers, the symbol of RSS 2.0.">This document represents the status of RSS as of the Fall of 2002, version 2.0.1. <br><br>
	It incorporates all changes and additions, starting with the basic spec for <a href="http://backend.userland.com/rss091">RSS 0.91</a> (June 2000) and includes new features introduced in <a href="http://backend.userland.com/rss092">RSS 0.92</a> (December 2000) and RSS 0.94 (August 2002). <br><br>
	Change notes are <a href="rssChangeNotes.html">here</a>.<br><br>
	First we document the required and optional sub-elements of &lt;channel>; and then document the sub-elements of &lt;item>. The final sections answer frequently asked questions, and provide a roadmap for future evolution, and guidelines for extending RSS.<br><br>
<b>Required channel elements<a name="requiredChannelElements">&nbsp;</a><a href="#requiredChannelElements" title="Permanent link to 'Required channel elements' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	Here's a list of the required channel elements, each with a brief description, an example, and where available, a pointer to a more complete description. <table cellspacing="10">
	<tr><td><b>Element</b></td><td width="45%"><b>Description</b></td><td><b>Example</b></td></tr>
	<tr><td valign="top">title</td><td valign="top">The name of the channel. It's how people refer to your service. If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website. </td><td valign="top">GoUpstate.com News Headlines</td></tr> 
	<tr><td valign="top">link</td><td valign="top">The URL to the HTML website corresponding to the channel.</td><td valign="top">http://www.goupstate.com/</td></tr> 
	<tr><td valign="top">description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign="top">Phrase or sentence describing the channel.</td><td valign="top">The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.</td></tr> 
	</table>
<br><br>
<b>Optional channel elements<a name="optionalChannelElements">&nbsp;</a><a href="#optionalChannelElements" title="Permanent link to 'Optional channel elements' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	Here's a list of optional channel elements. <table cellspacing="10">
	<tr><td><b>Element</b></td><td width="65%"><b>Description</td><td><b>Example</b></td></tr>
	<tr><td valign="top">language</td><td valign="top">The language the channel is written in. This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values for this element, as provided by Netscape, is <a href="languages.html">here</a>. You may also use <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes">values defined</a> by the W3C.</td><td valign="top">en-us</td></tr> 
	<tr><td valign="top">copyright</td><td valign="top">Copyright notice for content in the channel.</td><td valign="top">Copyright 2002, Spartanburg Herald-Journal</td></tr> 
	<tr><td valign="top">managingEditor</td><td valign="top">Email address for person responsible for editorial content.</td><td valign="top">geo@herald.com (George Matesky)</td></tr> 
	<tr><td valign="top">webMaster</td><td valign="top">Email address for person responsible for technical issues relating to channel.</td><td valign="top">betty@herald.com (Betty Guernsey)</td></tr> 
	<tr><td valign="top">pubDate</td><td valign="top">The publication date for the content in the channel. For example, the New York Times publishes on a daily basis, the publication date flips once every 24 hours. That's when the pubDate of the channel changes. All date-times in RSS conform to the Date and Time Specification of <a href="http://asg.web.cmu.edu/rfc/rfc822.html">RFC 822</a>, with the exception that the year may be expressed with two characters or four characters (four preferred).</td><td valign="top">Sat, 07 Sep 2002 00:00:01 GMT</td></tr> 
	<tr><td valign="top">lastBuildDate</td><td valign="top">The last time the content of the channel changed.</td><td valign="top">Sat, 07 Sep 2002 09:42:31 GMT</td></tr> 
	<tr><td valign="top">category</td><td valign="top">Specify one or more categories that the channel belongs to. Follows the same rules as the &lt;item>-level <a href="rss.html#ltcategorygtSubelementOfLtitemgt">category</a> element. More <a href="rss.html#syndic8">info</a>.</td><td valign="top">&lt;category>Newspapers&lt;/category></td></tr> 
	<tr><td valign="top">generator</td><td valign="top">A string indicating the program used to generate the channel.</td><td valign="top">MightyInHouse Content System v2.3</td></tr> 
	<tr><td valign="top">docs</td><td valign="top">A URL that points to the documentation for the format used in the RSS file. It's probably a pointer to this page. It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.</td><td valign="top">http://blogs.law.harvard.edu/tech/rss</td></tr> 
	<tr><td valign="top">cloud</td><td valign="top">Allows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds. More info <a href="rss.html#ltcloudgtSubelementOfLtchannelgt">here</a>.</td><td valign="top">&lt;cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap"/></td></tr> 
	<tr><td valign="top">ttl</td><td valign="top">ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. More info <a href="rss.html#ltttlgtSubelementOfLtchannelgt">here</a>.</td><td valign="top">&lt;ttl>60&lt;/ttl></td></tr> 
	<tr><td valign="top">image</td><td valign="top">Specifies a GIF, JPEG or PNG image that can be displayed with the channel. More info <a href="rss.html#ltimagegtSubelementOfLtchannelgt">here</a>.</td><td valign="top"></td></tr> 
	<tr><td valign="top">rating</td><td valign="top">The <a href="http://www.w3.org/PICS/">PICS</a> rating for the channel.</td><td valign="top"></td></tr> 
	<tr><td valign="top">textInput</td><td valign="top">Specifies a text input box that can be displayed with the channel. More info <a href="rss.html#lttextinputgtSubelementOfLtchannelgt">here</a>.</td><td valign="top"></td></tr> 
	<tr><td valign="top">skipHours</td><td valign="top">A hint for aggregators telling them which hours they can skip. More info <a href="skipHoursDays.html#skiphours">here</a>.</td><td valign="top"></td></tr> 
	<tr><td valign="top">skipDays</td><td valign="top">A hint for aggregators telling them which days they can skip. More info <a href="skipHoursDays.html#skipdays">here</a>.</td><td valign="top"></td></tr> 
	</table><br><br>
<b>&lt;image&gt; sub-element of &lt;channel&gt;<a name="ltimagegtSubelementOfLtchannelgt">&nbsp;</a><a href="#ltimagegtSubelementOfLtchannelgt" title="Permanent link to '&lt;image&gt; sub-element of &lt;channel&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;image> is an optional sub-element of &lt;channel>, which contains three required and three optional sub-elements.<br><br>
	&lt;url> is the URL of a GIF, JPEG or PNG image that represents the channel. <br><br>
	&lt;title> describes the image, it's used in the ALT attribute of the HTML &lt;img> tag when the channel is rendered in HTML. <br><br>
	&lt;link> is the URL of the site, when the channel is rendered, the image is a link to the site. (Note, in practice the image &lt;title> and &lt;link> should have the same value as the channel's &lt;title> and &lt;link>. <br><br>
	Optional elements include &lt;width> and &lt;height>, numbers, indicating the width and height of the image in pixels. &lt;description> contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.<br><br>
	Maximum value for width is 144, default value is 88. <br><br>
	Maximum value for height is 400, default value is 31.<br><br>
<b>&lt;cloud&gt; sub-element of &lt;channel&gt;<a name="ltcloudgtSubelementOfLtchannelgt">&nbsp;</a><a href="#ltcloudgtSubelementOfLtchannelgt" title="Permanent link to '&lt;cloud&gt; sub-element of &lt;channel&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;cloud> is an optional sub-element of &lt;channel>. <br><br>
	It specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST, XML-RPC or SOAP 1.1. <br><br>
	Its purpose is to allow processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.<br><br>
	<code>&lt;cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="myCloud.rssPleaseNotify" protocol="xml-rpc" /></code><br><br>
	In this example, to request notification on the channel it appears in, you would send an XML-RPC message to rpc.sys.com on port 80, with a path of /RPC2. The procedure to call is myCloud.rssPleaseNotify.<br><br>
	A full explanation of this element and the rssCloud interface is <a href="soapMeetsRss.html#rsscloudInterface">here</a>.<br><br>
<b>&lt;ttl&gt; sub-element of &lt;channel&gt;<a name="ltttlgtSubelementOfLtchannelgt">&nbsp;</a><a href="#ltttlgtSubelementOfLtchannelgt" title="Permanent link to '&lt;ttl&gt; sub-element of &lt;channel&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;ttl> is an optional sub-element of &lt;channel>. <br><br>
	ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. This makes it possible for RSS sources to be managed by a file-sharing network such as <a href="http://www.gnutellanews.com/information/what_is_gnutella.shtml">Gnutella</a>. <br><br>
	Example: &lt;ttl>60&lt;/ttl><br><br>
<b>&lt;textInput&gt; sub-element of &lt;channel&gt;<a name="lttextinputgtSubelementOfLtchannelgt">&nbsp;</a><a href="#lttextinputgtSubelementOfLtchannelgt" title="Permanent link to '&lt;textInput&gt; sub-element of &lt;channel&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	A channel may optionally contain a &lt;textInput> sub-element, which contains four required sub-elements.<br><br>
	&lt;title> -- The label of the Submit button in the text input area. <br><br>
	&lt;description> -- Explains the text input area. <br><br>
	&lt;name> -- The name of the text object in the text input area. <br><br>
	&lt;link> -- The URL of the CGI script that processes text input requests. <br><br>
	The purpose of the &lt;textInput> element is something of a mystery. You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it.<br><br>
<b><hr>Elements of &lt;item&gt;<a name="hrelementsOfLtitemgt">&nbsp;</a><a href="#hrelementsOfLtitemgt" title="Permanent link to '<hr>Elements of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	A channel may contain any number of &lt;item>s. An item may represent a "story" -- much like a story in a newspaper or magazine; if so its description is a synopsis of the story, and the link points to the full story. An item may also be complete in itself, if so, the description contains the text (entity-encoded HTML is allowed; see <a href="encodingDescriptions.html">examples</a>), and the link and title may be omitted. All elements of an item are optional, however at least one of title or description must be present. <table cellspacing="10">
	<tr><td><b>Element</b></td><td><b>Description</b></td><td width="50%"><b>Example</b></td></tr>
	<tr><td valign="top">title</td><td valign="top">The title of the item.</td><td valign="top">Venice Film Festival Tries to Quit Sinking</td></tr> 
	<tr><td valign="top">link</td><td valign="top">The URL of the item.</td><td valign="top">http://nytimes.com/2004/12/07FEST.html</td></tr> 
	<tr><td valign="top">description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td valign="top">The item synopsis.</td><td valign="top">Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged.</td></tr> 
	<tr><td valign="top">author</td><td valign="top">Email address of the author of the item. <a href="#ltauthorgtSubelementOfLtitemgt">More</a>.</td><td valign="top">oprah\@oxygen.net</td></tr> 
	<tr><td valign="top">category</td><td valign="top">Includes the item in one or more categories. <a href="#ltcategorygtSubelementOfLtitemgt">More</a>.</td><td valign="top">&nbsp;</td></tr> 
	<tr><td valign="top">comments</td><td valign="top">URL of a page for comments relating to the item. <a href="#ltcommentsgtSubelementOfLtitemgt">More</a>.</td><td valign="top">http://www.myblog.org/cgi-local/mt/mt-comments.cgi?entry_id=290</td></tr> 
	<tr><td valign="top">enclosure</td><td valign="top">Describes&nbsp;a&nbsp;media&nbsp;object&nbsp;that&nbsp;is attached to the item. <a href="#ltenclosuregtSubelementOfLtitemgt">More</a>.</td><td valign="top"></td></tr> 
	<tr><td valign="top">guid</td><td valign="top">A string that uniquely identifies the item. <a href="#ltguidgtSubelementOfLtitemgt">More</a>.</td><td valign="top">http://inessential.com/2002/09/01.php#a2</td></tr> 
	<tr><td valign="top">pubDate</td><td valign="top">Indicates when the item was published. <a href="#ltpubdategtSubelementOfLtitemgt">More</a>.</td><td valign="top">Sun, 19 May 2002 15:21:36 GMT</td></tr> 
	<tr><td valign="top">source</td><td valign="top">The RSS channel that the item came from. <a href="#ltsourcegtSubelementOfLtitemgt">More</a>.</td><td valign="top">&nbsp;</td></tr> 
	</table>
<br><br>
<b>&lt;source&gt; sub-element of &lt;item&gt;<a name="ltsourcegtSubelementOfLtitemgt">&nbsp;</a><a href="#ltsourcegtSubelementOfLtitemgt" title="Permanent link to '&lt;source&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;source&gt; is an optional sub-element of &lt;item&gt;.<br><br>
	Its value is the name of the RSS channel that the item came from, derived from its &lt;title>. It has one required attribute, url, which links to the XMLization of the source.<br><br>
	<code>&lt;source url="http://www.tomalak.org/links2.xml">Tomalak's Realm&lt;/source></code><br><br>
	The purpose of this element is to propagate credit for links, to publicize the sources of news items. It can be used in the Post command of an aggregator. It should be generated automatically when forwarding an item from an aggregator to a weblog authoring tool.<br><br>
<b>&lt;enclosure&gt; sub-element of &lt;item&gt;<a name="ltenclosuregtSubelementOfLtitemgt">&nbsp;</a><a href="#ltenclosuregtSubelementOfLtitemgt" title="Permanent link to '&lt;enclosure&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;enclosure&gt; is an optional sub-element of &lt;item&gt;.<br><br>
	It has three required attributes. url says where the enclosure is located, length says how big it is in bytes, and type says what its type is, a standard MIME type.<br><br>
	The url must be an http url.<br><br>
	<code>&lt;enclosure url="http://www.scripting.com/mp3s/weatherReportSuite.mp3" length="12216320" type="audio/mpeg" /&gt;</code><br><br>
	A use-case narrative for this element is <a href="http://www.thetwowayweb.com/payloadsforrss">here</a>.<br><br>
<b>&lt;category&gt; sub-element of &lt;item&gt;<a name="ltcategorygtSubelementOfLtitemgt">&nbsp;</a><a href="#ltcategorygtSubelementOfLtitemgt" title="Permanent link to '&lt;category&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;category&gt; is an optional sub-element of &lt;item&gt;.<br><br>
	It has one optional attribute, domain, a string that identifies a categorization taxonomy. <br><br>
	The value of the element is a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. Processors may establish conventions for the interpretation of categories. Two examples are provided below:<br><br>
	<code>&lt;category>Grateful Dead&lt;/category></code><br><br>
	<code>&lt;category domain="http://www.fool.com/cusips">MSFT&lt;/category></code><br><br>
	You may include as many category elements as you need to, for different domains, and to have an item cross-referenced in different parts of the same domain.<br><br>
<b>&lt;pubDate&gt; sub-element of &lt;item&gt;<a name="ltpubdategtSubelementOfLtitemgt">&nbsp;</a><a href="#ltpubdategtSubelementOfLtitemgt" title="Permanent link to '&lt;pubDate&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;pubDate> is an optional sub-element of &lt;item>.<br><br>
	Its value is a <a href="http://asg.web.cmu.edu/rfc/rfc822.html">date</a>, indicating when the item was published. If it's a date in the future, aggregators may choose to not display the item until that date. <br><br>
	<code>&lt;pubDate>Sun, 19 May 2002 15:21:36 GMT&lt;/pubDate></code><br><br>
<b>&lt;guid&gt; sub-element of &lt;item&gt;<a name="ltguidgtSubelementOfLtitemgt">&nbsp;</a><a href="#ltguidgtSubelementOfLtitemgt" title="Permanent link to '&lt;guid&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;guid> is an optional sub-element of &lt;item>.<br><br>
	guid stands for globally unique identifier. It's a string that uniquely identifies the item. When present, an aggregator may choose to use this string to determine if an item is new.<br><br>
	<code>&lt;guid>http://some.server.com/weblogItem3207&lt;/guid></code><br><br>
	There are no rules for the syntax of a guid. Aggregators must view them as a string. It's up to the source of the feed to establish the uniqueness of the string. <br><br>
	If the guid element has an attribute named "isPermaLink" with a value of true, the reader may assume that it is a permalink to the item, that is, a url that can be opened in a Web browser, that points to the full item described by the &lt;item> element.  An example:<br><br>
	<code>&lt;guid isPermaLink="true">http://inessential.com/2002/09/01.php#a2&lt;/guid></code><br><br>
	isPermaLink is optional, its default value is true. If its value is false, the guid may not be assumed to be a url, or a url to anything in particular.<br><br>
<b>&lt;comments&gt; sub-element of &lt;item&gt;<a name="ltcommentsgtSubelementOfLtitemgt">&nbsp;</a><a href="#ltcommentsgtSubelementOfLtitemgt" title="Permanent link to '&lt;comments&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;comments> is an optional sub-element of &lt;item>.<br><br>
	If present, it is the url of the comments page for the item. <br><br>
	<code>&lt;comments&gt;http:&#47;&#47;ekzemplo.com/entry/4403/comments&lt;/comments&gt;</code><br><br>
	More about comments <a href="weblogComments.html">here</a>.<br><br>
<b>&lt;author&gt; sub-element of &lt;item&gt;<a name="ltauthorgtSubelementOfLtitemgt">&nbsp;</a><a href="#ltauthorgtSubelementOfLtitemgt" title="Permanent link to '&lt;author&gt; sub-element of &lt;item&gt;' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	&lt;author> is an optional sub-element of &lt;item>.<br><br>
	It's the email address of the author of the item. For newspapers and magazines syndicating via RSS, the author is the person who wrote the article that the &lt;item> describes. For collaborative weblogs, the author of the item might be different from the managing editor or webmaster. For a weblog authored by a single individual it would make sense to omit the &lt;author> element.<br><br>
	<code>&lt;author>lawyer@boyer.net (Lawyer Boyer)&lt;/author></code><br><br>
<b>Comments<a name="comments">&nbsp;</a><a href="#comments" title="Permanent link to 'Comments' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	RSS places restrictions on the first non-whitespace characters of the data in &lt;link> and &lt;url> elements. The data in these elements must begin with an <a href="http://www.iana.org/assignments/uri-schemes">IANA-registered</a> URI scheme, such as http://, https://, news://, mailto: and ftp://. Prior to RSS 2.0, the specification only allowed http:// and ftp://, however, in practice other URI schemes were in use by content developers and supported by aggregators. Aggregators may have limits on the URI schemes they support. Content developers should not assume that all aggregators support all schemes.<br><br>
	In RSS 0.91, various elements are restricted to 500 or 100 characters. There can be no more than 15 &lt;item>s in a 0.91 &lt;channel>. There are no string-length or XML-level limits in RSS 0.92 and greater. Processors may impose their own limits, and generators may have preferences that say no more than a certain number of &lt;item>s can appear in a channel, or that strings are limited in length.<br><br>
	In RSS 2.0, <a name="syndic8"></a>a provision is made for linking a channel to its identifier in a cataloging system, using the channel-level category feature, described above. For example, to link a channel to its Syndic8 identifier, include a category element as a sub-element of &lt;channel>, with domain "Syndic8", and value the identifier for your channel in the Syndic8 database. The appropriate category element for Scripting News would be &lt;category domain="Syndic8">1765&lt;/category>.<br><br>
	A frequently asked question about &lt;guid>s is how do they compare to &lt;link>s. Aren't they the same thing? Yes, in some content systems, and no in others. In some systems, &lt;link> is a permalink to a weblog item. However, in other systems, each &lt;item> is a synopsis of a longer article, &lt;link> points to the article, and &lt;guid> is the permalink to the weblog entry. In all cases, it's recommended that you provide the guid, and if possible make it a permalink. This enables aggregators to not repeat items, even if there have been editing changes.<br><br>
	If you have questions about the RSS 2.0 format, please post them on the <a href="http://groups.yahoo.com/group/RSS2-Support/">RSS2-Support</a> mail list, hosted by Sjoerd Visscher. This is not a debating list, but serves as a support resource for users, authors and developers who are creating and using content in RSS 2.0 format.<br><br>
<b>Extending RSS<a name="extendingRss">&nbsp;</a><a href="#extendingRss" title="Permanent link to 'Extending RSS' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	RSS originated in 1999, and has strived to be a simple, easy to understand format, with relatively modest goals. After it became a popular format, developers wanted to extend it using modules defined in namespaces, as <a href="http://www.w3.org/TR/REC-xml-names/">specified</a> by the W3C. <br><br>
	RSS 2.0 adds that capability, following a simple rule. A RSS feed may contain elements not described on this page, only if those elements are defined in a namespace. <br><br>
	The elements defined in this document are not themselves members of a namespace, so that RSS 2.0 can remain compatible with previous versions in the following sense -- a version 0.91 or 0.92 file is also a valid 2.0 file. If the elements of RSS 2.0 were in a namespace, this constraint would break, a version 0.9x file <i>would not</i> be a valid 2.0 file. <br><br>
<b>Roadmap<a name="roadmap">&nbsp;</a><a href="#roadmap" title="Permanent link to 'Roadmap' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	RSS is by no means a perfect format, but it is very popular and widely supported. Having a settled spec is something RSS has needed for a long time. The purpose of this work is to help it become a unchanging thing, to foster growth in the market that is developing around it, and to clear the path for innovation in new syndication formats. Therefore, the RSS spec is, for all practical purposes, frozen at version 2.0.1. We anticipate possible 2.0.2 or 2.0.3 versions, etc. only for the purpose of clarifying the specification, not for adding new features to the format. Subsequent work should happen in modules, using namespaces, and in completely new syndication formats, with new names. <br><br>
<b>License and authorship<a name="licenseAndAuthorship">&nbsp;</a><a href="#licenseAndAuthorship" title="Permanent link to 'License and authorship' in archive."><img src="images/leftArrow.gif" height="9" width="11" border="0"></a></b><br><br>
	RSS 2.0 is offered by the Berkman Center for Internet & Society at Harvard Law School under the terms of the Attribution/Share Alike Creative Commons <a href="http://creativecommons.org/licenses/by-sa/1.0/">license</a>. The author of this document is <a href="http://www.scripting.com/dwiner/">Dave Winer</a>, founder of UserLand software, and fellow at Berkman Center.<br><br>

					<div class="footer">
						<table border="0" cellspacing="0" cellpadding="5" align="right" hspace="15" vspace="5"><tr><td><br /><br /></td></tr></table>
						<a href="http://creativecommons.org/licenses/by-sa/1.0/"><img src="images/ccLogo.gif" width="88" height="31" border="0" alt="Creative Commons License" align="left" hspace="7" vspace="3"></a>Unless otherwise labeled by its originating author, the content found on this site is made available under the terms of an Attribution/Share Alike Creative Commons license, with the exception that no rights are granted -- since they are not ours to grant -- in any logo, graphic design, trademarks or trade names, including the Harvard name. Last update: 4/29/07; 7:33:52 AM.
						</div>
					</td>
				<td width="30%" valign="top" id="links">
					<div class="side">
						<p><p><a href="rss.html">RSS 2.0 Spec</p>
<p><a href="index.html">Site Outline</p>
<p><a href="about.html">About this Site</p>
</p>
						</div>
					</td>
				</tr>
			</table>
		<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
			</script>
			<script type="text/javascript">
			_uacct = "UA-121485-7";
			urchinTracker();
			</script>
		</body>
	</html>
